<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>测试flex6 - align-items:center</title>
  <style>
    .container {
      display: flex;
      background-color: #bfa;
      align-items: center;
      height: 500px;
      width: 1440px;
    }

    .son1 {
      background-color: orange;
      height: 200px;
      width: 200px;
    }

    .son2 {
      background-color: paleturquoise;
      height: 200px;
      width: 200px;
    }

    .son3 {
      background-color: papayawhip;
      height: 200px;
      width: 200px;
    }
  </style>
</head>

<body>
  <div class="container">
    <div class="son1"></div>
    <div class="son2"></div>
    <div class="son3"></div>
  </div>
</body>

</html>